
<!DOCTYPE html>
<html class="no-js">
<head lang="en">

    <#include "../head_import.html" />

</head>
<body>
<#include "../include/top_nav.html">
    <div class="am-cf admin-main">

        <!-- sidebar start -->
        <#include "../left.html">
            <!-- sidebar end -->
            <!-- content start-->
            <div class="admin-content">
                <div class="am-cf am-padding">
                    <div class="am-fl am-cf"><@s.m "global.position"/>: 销售统计 - 销量排行</div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <form class="ropt">
                            <input type="submit" onclick="this.form.action='${base}/admin/shop/o_resetSaleTop.do';" value="重置">
                        </form>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <form id="tableForm" method="post">
                            <input type="hidden" name="pageNo" value="${pageNo!}"/>
                            <input type="hidden" name="ctgId" value="${ctgId!}"/>
                            <@p.table listAction="productSaleTop.do" value=pagination;productId,i,has_next><#rt/>
                            <@p.column code="product.name">${productId.name}</@p.column><#t/>
                                            <@p.column code="product.category">${productId.category.name}</@p.column><#t/>
                                        <@p.column code="product.type">${productId.type.name}</@p.column><#t/>
                                    <@p.column code="销售量">${productId.saleCount}</@p.column><#t/>
                            </@p.table>
                       </form>
                   </div>
               </div>


    </div>
</div>
<#include "/common/alert_message.html"/>
</body>
</html>